package com.dongdongshop.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongdongshop.mapper.TbSpecificationOptionMapper;
import com.dongdongshop.pojo.TbSpecificationOption;
import com.dongdongshop.service.SpecificationOptionService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @Description
 * @ClassName SpecificationOptionServiceImpl
 * @Author RC
 * @date 2020.12.10 08:29
 */
@Service
public class SpecificationOptionServiceImpl implements SpecificationOptionService {
      @Autowired
    private TbSpecificationOptionMapper tbSpecificationOptionMapper;
    @Override
    public List<TbSpecificationOption> getInfoById(Long id) {

      return  tbSpecificationOptionMapper.getInfoById(id);
    }

    @Override
    public void deleteBatchSpecOption(Integer[] ids) {
        tbSpecificationOptionMapper.deleteBatchSpecOption(ids);
    }


}
